package com.carpedil.es;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.data.elasticsearch.repository.config.EnableElasticsearchRepositories;
import org.springframework.scheduling.annotation.EnableScheduling;

/** @author Administrator */
@SpringBootApplication
@MapperScan("com.carpedil.es.mapper")
@EnableScheduling
@EnableElasticsearchRepositories(basePackages = "com.carpedil.es.mapper")
public class ElasticSearchMain {
  public static void main(String[] args) {
    SpringApplication.run(ElasticSearchMain.class, args);
  }
}
